package com.neusoft.springdemo.bean;

/**
 * 
 * @author chens
 *
 */
public class ProductFactory {

	/**
	 * 工厂方法模式
	 * 
	 * @return
	 */
	public Product creatProduct() {
		return new Product();
	}

	/**
	 * 
	 * @return
	 */
	public User creatUser() {
		return new User();
	}
}
